package com.elvis.blog.common.exception;

/**
 * @program: elvis-blog
 * @description: TODO
 * @author: JackRen
 * @create: 2019-11-22 16:27
 **/
public class HwException extends RuntimeException{

    private int code;

    public HwException() {}

    public HwException(int code) {
        this.code = code;
    }

    public HwException(String message) {
        super(message);
    }

    public HwException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
